package po.chooseCoursePO;

import java.io.Serializable;

public class ChooseCoursePO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String studentId;
	private String studentName;
	private String courseId;
	private String courseName;
	private double score;
	private int credit;
	private int term;
	private String attribute;    //课程属性


	public ChooseCoursePO(String studentId, String studentName,
			String courseId, String courseName, double score,int credit,int term,String attribute) {
		this.studentId = studentId;
		this.studentName = studentName;
		this.courseId = courseId;
		this.courseName = courseName;
		this.score = score;
		this.credit=credit;
		this.term=term;
		this.attribute=attribute;
	}

	public String getAttribute() {
		return attribute;
	}

	public void setAttribute(String attribute) {
		this.attribute = attribute;
	}

	public int getTerm() {
		return term;
	}

	public void setTerm(int term) {
		this.term = term;
	}

	public int getCredit() {
		return credit;
	}

	public void setCredit(int credit) {
		this.credit = credit;
	}

	public String getStudentId() {
		return studentId;
	}

	public void setStudentId(String studentId) {
		this.studentId = studentId;
	}

	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public String getCourseId() {
		return courseId;
	}

	public void setCourseId(String courseId) {
		this.courseId = courseId;
	}

	public String getCourseName() {
		return courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public double getScore() {
		return score;
	}

	public void setScore(double score) {
		this.score = score;
	}
	
	public String toString(){
		String string="StudentId: "+studentId+" Student name: "+studentName+" courseId: "
				+courseId+" course name: "+courseName+" score: "+score;
		return string;
	}

}
